<#if pg??>${pg.countHtml!}</#if>
<table class="list">
  <tr>
    <th width="10%">合同编号</th>
    <th width="10%">供应商</th>
    <th width="10%">结算方式</th>
    <th width="12%">合同开始日期</th>
    <th width="12%">合同结束日期</th>
    <th width="15%">状态</th>
    <th width="10%">送货方式</th>
    <th>操作</th>
  </tr>
  <#if list??><#list list as c>
  <tr<#if c_index%2==1> class="line2"<#else> class="line1"</#if>>
    <td>${c.contractCode!}</td>
    <td><@value type="providerList" key="${c.providerCode!}"/></td>
    <td><@value type="PayMode" key="${c.payMode!}"/></td>
    <td>${c.beginTime!}</td>
    <td>${c.endTime!}</td>
    <td><#if c.status=1>有效<#elseif c.status=2>失效</#if></td>
    <td><@value type="DeliverMode" key="${c.deliverMode!}"/></td>
    <td class="oper"><#if canEdit??><a class="edit" href="javascript:open('edit?contractCode=${c.contractCode!}');">修改</a></#if><#if canDel??><a class="del" href="javascript:cdel('_del?contractCode=${c.contractCode!}')">删除</a></#if></td>
  </tr>
  </#list></#if>
</table>
<#if pg??>${pg.pageHtml!}</#if>
